<?php if (!defined('TL_ROOT')) die('You can not access this file directly!');

/**
 * TYPOlight webCMS
 *
 * The TYPOlight webCMS is an accessible web content management system that 
 * specializes in accessibility and generates W3C-compliant HTML code. It 
 * provides a wide range of functionality to develop professional websites 
 * including a built-in search engine, form generator, file and user manager, 
 * CSS engine, multi-language support and many more. For more information and 
 * additional TYPOlight applications like the TYPOlight MVC Framework please 
 * visit the project website http://www.typolight.org.
 *
 * Taxonomy Extension
 *
 * PHP version 5
 * @copyright  2012 Stefan Melz
 * @author     Stefan Melz <info@stefanmelz.de>
 * @package     
 * @license    GPL 
 * @filesource
 */

/**
 * Table tl_taxonomy 
 */

$GLOBALS['TL_DCA']['tl_taxonomy']['palettes']['default']	                    = '{title_legend},name,name_en;alias,trennzeichen';
$GLOBALS['TL_DCA']['tl_taxonomy']['fields']['alias']['eval']['tl_class']		= 'w50';
$GLOBALS['TL_DCA']['tl_taxonomy']['fields']['name_en'] 		                    = array
    (
    			'label'                   => &$GLOBALS['TL_LANG']['tl_taxonomy']['name_en'],
    			'exclude'                 => true,
    			'inputType'               => 'text',
    			'eval'                    => array('mandatory'=>false, 'maxlength'=>255, 'tl_class'=>'w50')
    );

$GLOBALS['TL_DCA']['tl_taxonomy']['fields']['trennzeichen'] 		= array
    (
    'label'                   => &$GLOBALS['TL_LANG']['tl_taxonomy']['trennzeichen'],
    'exclude'                 => true,
    'inputType'               => 'select',
    'options'                 => array(',','&nbsp;-'),
    'eval'                    => array
     (
        'mandatory'         => false,
        'tl_class'          => 'w50',
     )
);
?>